package io.renren.modules.sq.dao;

import io.renren.modules.sq.entity.SqSystemEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统表
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2022-05-14 19:29:39
 */
@Mapper
public interface SqSystemDao extends BaseMapper<SqSystemEntity> {

    List<SqSystemEntity> getUserSystemListByUserid(Long userId);

    List<SqSystemEntity> listbyuserid(String userId,int roleId);

    List<SqSystemEntity> getSystemList();

    List<SqSystemEntity> selectListByRoleid(Long roleId);

    List<SqSystemEntity> listbyroleid(int roleId);
}
